package dao;

import java.sql.SQLException;
import java.util.List;

import models.User;

public interface UserDao {
    public boolean save(User user) throws SQLException;//注册

    public boolean checkUserInfo(User user) throws SQLException;//检查用户名

    public boolean checkPasswdInfo(User user) throws SQLException;//检查密码是否一致

    public User getUserAll(User user) throws SQLException;

    public List getAllUser() throws SQLException ;
}  